﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="RawMaterialReports.aspx.cs" Inherits="XYZ_Inventory.RawMaterialReports" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2>
        Raw Material Report</h2>
    <br />
    <h3>
        Raw material usage report</h3>
    <br />
    <br />
    <asp:DropDownList ID="ddlReportChart1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlReportChart1_OnSelectedIndexChanged">
    </asp:DropDownList>
    <br />
    <br />
    <asp:Chart ID="Chart1" runat="server" Width="600px" Height="600px">
        <Series>
            <asp:Series Name="Series">
            </asp:Series>
        </Series>
        <ChartAreas>
            <asp:ChartArea Name="ChartArea">
            </asp:ChartArea>
        </ChartAreas>
    </asp:Chart>
    <br />
    <br />
    <h3>
        Raw material usage report from sales</h3>
    <br />
    <asp:Label ID="Label1" runat="server" Text="Year"></asp:Label>
    <asp:DropDownList ID="ddlYears" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlYears_OnSelectedIndexChanged">
    </asp:DropDownList>
    <br />
    <asp:Label ID="Label3" runat="server" Text="Raw material Type"></asp:Label>
    <asp:DropDownList ID="ddlMaterialType" runat="server" DataTextField="Type" DataValueField="Type"
        AutoPostBack="True" OnSelectedIndexChanged="ddlMaterialType_OnSelectedIndexChanged">
    </asp:DropDownList>
    <br />
    <asp:Label ID="Label2" runat="server" Text="Raw material Name"></asp:Label>
    <asp:DropDownList ID="ddlRawMaterial" runat="server" DataTextField="RawMaterialName"
        AutoPostBack="True" DataValueField="RawMaterialID" OnSelectedIndexChanged="ddlRawMaterial_OnSelectedIndexChanged">
    </asp:DropDownList>
    <br />
    <br />
    <table style="width: 100%">
        <tr>
            <td>
                <asp:Chart ID="Chart2" runat="server" Width="600px" Height="600px">
                    <Series>
                        <asp:Series Name="Series">
                        </asp:Series>
                    </Series>
                    <ChartAreas>
                        <asp:ChartArea Name="ChartArea">
                        </asp:ChartArea>
                    </ChartAreas>
                </asp:Chart>
            </td>
            <td>
                <asp:Chart ID="Chart3" runat="server" Width="600px" Height="600px">
                    <Series>
                        <asp:Series Name="Series">
                        </asp:Series>
                    </Series>
                    <ChartAreas>
                        <asp:ChartArea Name="ChartArea">
                        </asp:ChartArea>
                    </ChartAreas>
                </asp:Chart>
            </td>
        </tr>
    </table>
</asp:Content>
